/*
 * Created: Author: Aléx Carvalho / Date: Jan 23, 2015
 * 
 * Changed: $Author: ac280593@gmail.com $ / $Date: 2015-06-11 01:28:43 -0300 (Thu, 11 Jun 2015) $
 */

package com.cpm.entities.types;

import com.cpm.wrapper.GenericType;

public enum Family implements GenericType<Integer> {
    
    ACTION(1, "Ação"),
    COMPETENCE(2, "Competencia"),
    FOLDER(3, "Pasta"),
    INDICATOR(4, "Indicador"),
    STRATEGIC_PLAN(5, "Plano estratégico"),
    USER(6, "Usuário"),
    INFORMATION(7, "Informação");
    
    private final int id;
    private final  String name;

    private Family(int id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public Integer getId() { return id; }
    
    @Override
    public String toString() { return this.name; }
}